import request from '@/utils/request'

export function getHotList() {
  return request({
    url: 'book/lend/getHotList',
    method: 'get'
  })
}

export function getBookNum() {
  return request({
    url: '/statistics/bookNum',
    method: 'get'
  })
}

export function getLendChange(data) {
  return request({
    url: '/statistics/lendList',
    method: 'get',
    params: data
  })
}

export function getLostCount(data) {
  return request({
    url: '/statistics/lostCount',
    method: 'get',
    params: data
  })
}

export function getPopularAuthor() {
  return request({
    url: '/statistics/popularAuthor',
    method: 'get'
  })
}

export function getBackLater() {
  return request({
    url: '/statistics/backLater',
    method: 'get'
  })
}
